interface RoleListParamsType {
  page: number
  limit: number
  role_name: string
  status: string | 0 | 1
}

interface RoleType {
  id: number
  level: number
  role_name: string
  rules: string
  status: 0 | 1
  loading?: boolean
}

interface RoleListType {
  list: RoleType[]
  count: number
}

interface RoleInfoType {
  id: number
  level: number
  role_name: string
  rules: string
  status: 0 | 1
}

interface RoleEditParamsType {
  role_name: string
  checked_menus: number[]
  status: 0 | 1
}
